10.6 Interoperability for Yubico smart cards

This section contains information about any considerations for using these smart card with other systems.

10.6.1 Unlocking YubiKey tokens

YubiKey tokens include a PIV applet, which means that you can use the MyID Card Utility to carry out a remote challenge/response unlock operation and change the user PIN, and the unlock credential provider to unlock the devices from the Windows logon screen.

See section 2.13, Unlocking smart cards that have a PIV applet.

10.6.2 PIN policy settings

MyID allows you to set various policies for PINs using the settings in the credential profile. MyID enforces these settings for any operations carried out by MyID. For some smart cards, some or all of these settings are applied directly to the card, which means that the settings will also be enforced by third-party tools and utilities.

The following settings are supported for on-card PIN policy settings:

 

Smart card

PIN Setting

YubiKey 4

YubiKey 5

Maximum PIN Length

 

 

Minimum PIN Length

 

 

Repeated Characters Allowed

 

 

Sequential Characters Allowed

 

 

Logon Attempts

Y

Y

PIN Inactivity Timer

 

 

PIN History

 

 

Lowercase PIN Characters

 

 

Uppercase PIN Characters

 

 

Numeric PIN Characters

 

 

Symbol PIN Characters

 

 

Lifetime

 

 

 

 

Smart card

PIN Setting

YubiKey FIPS

YubiKey SC

Maximum PIN Length

 

 

Minimum PIN Length

 

 

Repeated Characters Allowed

 

 

Sequential Characters Allowed

 

 

Logon Attempts

Y

Y

PIN Inactivity Timer

 

 

PIN History

 

 

Lowercase PIN Characters

 

 

Uppercase PIN Characters

 

 

Numeric PIN Characters

 

 

Symbol PIN Characters

 

 

Lifetime

 

 

 

 

Smart card

PIN Setting

YubiKey SC FIPS

Maximum PIN Length

 

Minimum PIN Length

 

Repeated Characters Allowed

 

Sequential Characters Allowed

 

Logon Attempts

Y

PIN Inactivity Timer

 

PIN History

 

Lowercase PIN Characters

 

Uppercase PIN Characters

 

Numeric PIN Characters

 

Symbol PIN Characters

 

Lifetime

 

Key:

MyID also supports the following YubiKey-specific settings by creating a customized card data model file:

The following settings are supported:

 

Smart card

PIN Setting

YubiKey 4

YubiKey 5

PUK Retries

Y

Y

Per Container PIN Policy

Y

Y

Per Container Touch-to-Sign Policy

Y

Y

Touch OTP

Y

Always on; cannot configure.

 

 

Smart card

PIN Setting

YubiKey FIPS

YubiKey SC

PUK Retries

Y

Y

Per Container PIN Policy

Cannot set to "never"

Y

Per Container Touch-to-Sign Policy

Y

Y

Touch OTP

Y

Y

 

 

Smart card

PIN Setting

YubiKey SC FIPS

PUK Retries

Y

Per Container PIN Policy

Y

Per Container Touch-to-Sign Policy

Y

Touch OTP

Y

You can configure the on-device settings by editing the card format file; these settings are applied when you issue, reprovision, or update the YubiKey token.

The Yubikey.xml card format file is located on the MyID application server in the following default folder:

C:\Program Files\Intercede\MyID\Components\CardServer\CardFormats\

Important: Do not edit the base Yubikey.xml file, as it may be overwritten by subsequent MyID updates or upgrades – instead, make a copy of the file in the same folder and give it a name that you can use to identify its purpose; for example, if you create a file to change the number of PUK retries to 5, you may want to name the copied file Yubikey_5_PUK_retries.xml.

To select the card format file, in the Credential Profiles workflow, in the Device Profiles section, from the Card Format drop down list select the copy of the Yubikey.xml file you created; for example, Yubikey_5_PUK_retries.xml.

You can configure the YubiKey on-device settings as follows:

Warning: Do not amend any other parts of the card format file. Incorrect configuration may lead to failure to issue a token.

10.6.2.1 Updating existing YubiKey tokens

You can update existing issued YubiKey tokens to use the on-device settings; you can request a card update through MyID, or you can use the Lifecycle API.

When deciding whether to update your existing YubiKey tokens, consider the following:

To update an existing YubiKey:

  1. Use the Request Card Update workflow to request an update.

    For more details about using this workflow and how it affects your credentials, see the Requesting a card update section in the Operator's Guide.

  2. Select one of the following options:

    • Request a resync of the card to the same version of the current profile – select this option if you have made no changes to the credential profile used to issue the token.
    • Request an upgrade of the card to the latest version of the current profile – select this option if you have made changes to the credential profile used to issue the token.
    • Request an upgrade of the card to the latest version of the following profile – select this option if you have created a new credential profile to use for the on-device PIN policy settings.

  3. Select the appropriate reason.

    • To carry out a reprovision, replacing all of the certificates on the token, select the There is a problem with the device reason.

    • To carry out an update, which affects only the Per Container PIN Policy or Per Container Touch-to-Sign Policy, and only for certificates that are required to be added because of the update, select the New certificates need to be added to the device reason.

  4. Collect the update using the Self-Service App.

For systems with a large user population, you may prefer to create update requests using the Lifecycle API. The relevant section of the submission for generating a card update request is shown below.

For carrying out a full reprovision using the CMSCardRequest schema:

<Card>
 <CardProfile>Yubikey NoOTP</CardProfile>
 <CardRequestedBy>System</CardRequestedBy>
 <OriginalSerialNumber>8115516</OriginalSerialNumber>
 <OriginalDeviceType>YubiKey 4</OriginalDeviceType>
 <StatusMapping>84</StatusMapping>
 <Reprovision>1</Reprovision>
</Card>

For carrying out an update:

<Card>
<CardProfile>Yubikey NoOTP</CardProfile>
<CardRequestedBy>System</CardRequestedBy>
<Update>
 <OriginalSerialNumber>8115516</OriginalSerialNumber>
 <OriginalDeviceType>YubiKey 4</OriginalDeviceType>
 <StatusMapping>86</StatusMapping>
</Update>
</Card>

Replace the values of the nodes in the example above with values corresponding to the user population in your system.

For more information on the Lifecycle API, see the Lifecycle API guide.

10.6.2.2 Using YubiKey tokens for Windows logon

If you want to use your YubiKey tokens for Windows logon, you must set the Per Container Touch-to-Sign Policy to 03 (cached) and Per Contain PIN Policy to 02 (once).

10.6.3 Unlocking

MyID typically sets a randomized personal unlocking key (PUK) when it issues a Yubico smart card. This PUK is not available to any system other than MyID. If you want to unlock a Yubico smart card, you must use MyID (for example, the Self-Service App, MyID Desktop, or the MyID Card Utility).

For information on the MyID Card Utility, see the Remote PIN Management utility for PIV cards section in the Operator's Guide.

10.6.4 PIN attempts

The number of attempts to enter a PIN for a Yubico device is set by the manufacturer, but MyID can override this using the Logon Attempts option on the credential profile.

10.6.5 PIN characters

The SP800-73 PIV specification requires that PIV cards use numeric-only PINs; however, although YubiKey tokens use PIV technology, it is possible to configure MyID to use non-numeric PIN characters for YubiKey tokens. YubiKey tokens support numeric, upper case, lower case, and symbol characters.

10.6.6 PIN length

YubiKey devices have fixed minimum and maximum PIN lengths of 6 and 8 characters respectively. Make sure you set up the credential profile to have a Minimum PIN Length of 6 and a Maximum PIN Length of 8.

10.6.7 Additional identities for YubiKey tokens

The Retired Key Management container slots can be used to store Additional Identity certificates on YubiKey tokens. YubiKey 4 and 5 devices have a total of 20 Retired Key Management containers.

Retired Certificates are written first, followed by AI certs. The combined total of Retired Certificates and Additional Identity certificates must be a maximum of 20 certificates, or the token will run out of available containers.

This functionality requires the YubiKey Smart Card Minidriver installed, which you can obtain from the Yubico website.

For more information on additional identities, see the Additional identities sections in the Administration Guide.

10.6.8 Identification of YubiKey 4 and YubiKey FIPS

YubiKey 4 and YubiKey FIPS devices share an ATR value, and can be differentiated only by their firmware version.

If a YubiKey device has the following ATR:

MyID identifies the device based on the firmware as follows:

10.6.9 Identification of YubiKey 5 and YubiKey SC

YubiKey 5 and YubiKey SC devices share an ATR value, and can be differentiated only by their firmware version.

If a YubiKey device has the following ATR:

MyID identifies the device based on the firmware as follows:

10.6.10 Displaying YubiKey firmware versions

The Identify Card workflow displays the firmware version of your YubiKey devices in the Device Version field.

This value is stored in the MyID database at the point of device personalization from MyID 11.5 onwards – this means that you cannot view the firmware version of YubiKey devices that were issued in previous versions of MyID.

10.6.11 Updating YubiKey devices with incorrect 9B keys

If you are attempting to use MyID Desktop to update a YubiKey device using the Collect My Updates workflow, but the 9B key is incorrect (which may be caused by an issue with earlier versions of the Yubico minidriver, prior to v4.0.4, setting the factory 9B key to a value not known to MyID) you are automatically directed to the Reprovision My Card workflow instead, which recovers your card into a usable state. This process is seamless; note, however, that you must have a role that has access to both the Collect My Updates and Reprovision My Card workflows.

10.6.12 Enabling and disabling device capabilities

MyID can enable or disable the capabilities supported by YubiKey SC and YubiKey SC FIPS tokens.

You can secure the supported configurations using the Configuration Lock Code; see section 10.2.3, Setting up the Configuration Lock Code.

You can enable or disable the following capabilities on the USB or NFC interfaces:

Important: The configuration file also contains PIV in the list of supported capabilities, but you must never disable this capability for the USB interface, as this would prevent MyID from managing the device.

Note: MyID can only enable or disable these capabilities; it cannot manage them.

If you attempt to enable a capability on a device that does not support that capability, the device personalization continues without an error or failure. The device is issued without the capability enabled.

To configure the supported capabilities, edit the YubiKey.xml, YubiKeyNoOTP.xml, and YubikeyFIPS.xml card format files.

By default, these files are installed to the following location on the MyID application server:

C:\Program Files\Intercede\MyID\Components\CardServer\CardFormats\

Note: You are recommended to take a copy of the existing file, rename it, and make your changes in the renamed file to ensure that your changes are not overwritten when updating or upgrading your MyID system.

The CardDataModel\USBCapabilities node is used to configure the capabilities of the USB interface; the CardDataModel\NFCCapabilities node is used to configure the NFC capabilities. Set the value to 1 to enable the capability, or 0 to disable it.

For example:

Copy
<USBCapabilities>
<!-- 1 = enabled, 0 = disabled -->
  <OTP>0</OTP>
  <U2F>0</U2F>
  <OpenPGP>0</OpenPGP>
  <PIV>1</PIV>    <!-- Note that PIV cannot be disabled or MyID will not be able to manage the token -->
  <OATH>0</OATH>
  <CTAP2>0</CTAP2>
</USBCapabilities>
<NFCCapabilities>
<!-- 1 = enabled, 0 = disabled -->
  <OTP>0</OTP>
  <U2F>0</U2F>
  <OpenPGP>0</OpenPGP>
  <PIV>1</PIV>
  <OATH>0</OATH>
  <CTAP2>0</CTAP2>
</NFCCapabilities>

10.6.13 Factory resetting YubiKey tokens

A factory reset on a YubiKey token with diversified factory keys will return the keys to the default values, and not the diversified factory values. In this case, MyID would no longer be able to issue the tokens.